home *** CD-ROM | disk | FTP | other *** search
/ Hackers Matrix / Hacker's Matrix (nCite Software) (2003).iso / Interface / detectFlash.swf / scripts / frame_3 / DoAction.as
Text File  |  2000-04-08  |  432b  |  23 lines

  1. playerVersion = $version;
  2. Version = playerVersion.substr("5","1");
  3. if(int(version) < int(contentVersion))
  4. {
  5.    getURL(upgradeURL,"_self");
  6. }
  7. else if(requireLatestRevision eq "true")
  8. {
  9.    Revision = playerVersion.substr("9","2");
  10.    if(int(Revision) < int(latestRevision))
  11.    {
  12.       getURL(upgradeURL,"_self");
  13.    }
  14.    else
  15.    {
  16.       getURL(contentURL,"_self");
  17.    }
  18. }
  19. else
  20. {
  21.    getURL(contentURL,"_self");
  22. }
  23.